package com.yu.service;

import java.util.List;

import com.alibaba.fastjson.JSON;
import com.yu.dao.TsDao;
import com.yu.pojo.Ts;

public class TsService {
	private TsDao sDao = new TsDao();
	public String getbypid(String pid) {
		List<Ts> list = sDao.getbypid(pid);
		return JSON.toJSONString(list);
	}
}
